Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods


ODInfo

Superclasses
ODObject
Subclasses
none

An object of the ODInfo class provides the Part Info dialog box, which your part uses to display standard user properties about itself or its embedded parts.

Description

When a document is opened, the session object creates a single info object. All parts of that document share the info object; you can obtain a reference to it by calling the session object's GetInfo method (page 608).

The info object allows you to see the Part Info dialog box for a part. That dialog box displays properties of the part that are of interest to the user, for example, its part kind and category, size, and creation date. If you have implemented a settings extension for your part, the dialog box includes a Settings button that the user can click to see additional properties specific to your part. When the user clicks the Settings button, OpenDoc calls your settings extension's ShowSettings method (page 628).

For additional information about the Part Info dialog box and the settings extension, see the chapters on windows and menus and extending OpenDoc in the OpenDoc Programmer's Guide for the MacOS.

Methods

This section presents a summary description of the ODInfo method, followed by a detailed description.

ShowPartFrameInfo
Displays the Part Info dialog box in response to a user selection from the Edit menu.

Methods
ShowPartFrameInfo

Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help